add_subdirectory("./msg_handler")
add_subdirectory("./session")
add_subdirectory("./custom_dialog")
add_subdirectory("./file_transfer")

set(PROJECT_SOURCES
    main.cpp
)

qt_add_executable(${PROJECT_NAME} ${PROJECT_SOURCES})

set_target_properties(${PROJECT_NAME}
    PROPERTIES
        WIN32_EXECUTABLE TRUE
)

target_include_directories(${PROJECT_NAME} PRIVATE
    ${fileModule_SOURCE_DIR}
    ${MsgHandlerObj_SOURCE_DIR}
    #${Session_SOURCE_DIR}
)

target_link_libraries(${PROJECT_NAME}
    PUBLIC
        Qt::Core
        Qt::Gui
        Qt::Widgets
        Qt::Network
        fileModule
        MsgHandlerObj
        #SessionObj
)


#macro(my_macro name)
#    message("Name: ${name}")
#    message("Other arguments: ${ARGN}")
#endmacro()
